.container {
  width: 80%;
  margin: auto;

  height: 100%;
}
a {
  text-decoration: none;
  color: rgb(8, 8, 8);
}

button {
  color: #fff;
  background: #000;
  padding: 1.2rem 2rem;
  cursor: pointer;
  user-select: none;
  border: none;
  outline: none;
  transition: background 9999999s;
}

button:active {
  background: red;
  transition: background 0s;
}

.MainPage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.MainImg {
  width: 25%;
}

.mainDiv {
  font-family: 'Jost', sans-serif;
  background-color: #fff;
  border-radius: 10px;
  margin-top: 20px;
  display: flex;
  padding: 12px;
  -webkit-box-shadow: 0px -1px 9px 1px rgba(61, 61, 61, 0.2);
  -moz-box-shadow: 0px -1px 9px 1px rgba(61, 61, 61, 0.2);
  box-shadow: 0px -1px 9px 1px rgba(61, 61, 61, 0.2);
}

#MainInput {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  width: 40%;
  background-color: #ffffff;
  border-radius: 2px;
  border: none;
  padding: 3px;
}

#footerDiv {
  background-color: #3d3d3d;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 130px;
  margin-top: 20%;
}

#footerDiv p {
  color: white;
}

#recipesImg {
  width: fit-content;
  padding: 10px;
}

#recipesMain {
  display: flex;

  width: auto;
  border: 2px solid rgb(194, 211, 202);

  /* flex-di======rection: column; */
  /* width: auto; */
  /* border: 2px solid rgb(194, 211, 202); */

  /* flex-direction: column; */
  /* width: auto; */
  /* border: 2px solid rgb(194, 211, 202); */

  border-radius: 10px;
}

#recipesHover {
  position: relative;
  width: 150%;
  margin-top: -110px;
}

#reviewsList {
  /* display: none; */
  /* position: absolute; */
  /* height: 10%; */
  /* width: 150%; */
  /* overflow: scroll; */
  height: auto;
  width: 60%;
  overflow-x: hidden;
  overflow-y: scroll;
  margin-bottom: 4%;
  /* margin-top: 10px; */
}

.rounded {
  margin-top: 6%;
}

#recipesMain h3 {
  margin-top: 7%;
}

.list-group-item {
  width: 20%;
}

#recipesHover:hover #reviewsList {
  display: block;
}

/* .list-group {
  height: 155px;
  width: 470%;
} */

#reviewListGroup {
  height: 155px;
  width: 470%;
}

.ingredients {
  width: 300%;
  margin-top: 9%;
  margin-left: 35%;
}

.recipeListDiv {
  max-height: 282.1px;
  overflow: scroll;
  width: 100%;
}

#recipeList {
  position: relative;
  bottom: 137%;
}

#recipesContainer {
  display: flex;
  justify-content: center;
  width: 65%;
  margin: auto;
  background-color: white;
  -webkit-box-shadow: 0px -1px 9px 1px rgba(61, 61, 61, 0.2);
  -moz-box-shadow: 0px -1px 9px 1px rgba(61, 61, 61, 0.2);
  box-shadow: 0px -1px 9px 1px rgba(61, 61, 61, 0.2);
  border-radius: 5px;
}

.carouselRandom-main {
  margin-top: 30px;
  padding: 10px;
}
.carouselFound-main {
  width: 100%;
  margin-top: 30px;
  padding: 10px;
}

.carouselRandom-element {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  max-width: 90%;
  height: 105%;
  -webkit-box-shadow: 0px -1px 9px 1px rgba(61, 61, 61, 0.2);
  -moz-box-shadow: 0px -1px 9px 1px rgba(61, 61, 61, 0.2);
  box-shadow: 0px -1px 9px 1px rgba(61, 61, 61, 0.2);
}

.carouselRandom-image {
  background-color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.carouselTitle {
  margin-top: 20px;
  font-family: 'Jost', sans-serif;
}

.carousel-title {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  padding: 7px 5px 7px 5px;
  background-color: white;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  height: 50px;
  overflow: hidden;

  line-height: 20px;
}

.carousel-img {
  max-width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.slick-slide img {
  display: block;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.main-page-img {
  padding: 20px;
  border-radius: 5px !important;
  max-height: 300px;
}

body {
  background-image: url('./images/3465.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.likes {
  color: grey;
  float: right;
}

.tags {
  position: relative;
  width: 100%;
  top: 100px;
}

.container-div {
  top: 0px;
  bottom: 50px;
  width: 100%;
  height: 100%;
  background: rgba(22, 21, 21, 0.9);
  position: fixed;
  z-index: 999;
}

.tags {
  top: 30%;
}

.search-button {
  position: absolute;
  color: white;
  left: 47%;
  top: 100px;
  padding: 10px 30px 10px 30px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid white;
  background-color: rgba(0, 0, 0, 0.671);
}

.search-button:hover {
  color: black;
  background-color: white;
  transition: ease-in 0.4s;
}

.close {
  float: right;
  position: absolute;
  top: 20px !important;
  right: 20px !important;
  cursor: pointer;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.timeline {
  position: relative;
  display: flex;
  max-width: 1250px;
  margin: 0 auto;
  flex-direction: column;
}
.timeline:before {
  content: '';
  position: absolute;
  width: 5px;
  border-radius: 2px;
  height: 100%;
  background-color: rgb(230, 230, 230);
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: center;
  width: 500px;
  height: 150px;
  border-radius: 100px;
  padding: 10px;
  -webkit-box-shadow: 0px 0px 22px -10px rgba(117, 117, 117, 1);
  -moz-box-shadow: 0px 0px 22px -10px rgba(117, 117, 117, 1);
  box-shadow: 0px 0px 22px -10px rgba(117, 117, 117, 1);
}
.timeline-item:not(:first-child) {
  margin-top: 20px;
}
.timeline-item:nth-child(2n) {
  margin-left: auto;
}
.timeline-item__img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid #cbcbcb;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.timeline-item:nth-child(2n) .timeline-item__text {
  color: #f63260;
}
.timeline-item__text {
  display: block;
  width: 70%;
  padding-left: 30px;
  font-size: 20px;
  color: #55b51d;
  line-height: 1.3;
}
.timeline-pagination {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.timeline-pagination__num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  font-size: 25px;
  background-color: #55b51d;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  margin-top: 45px;
}
.timeline-pagination__num:not(:first-child) {
  margin-top: 110px;
}
.timeline-pagination__num:nth-child(2n) {
  background-color: #f63260;
}

@media screen and (max-width: 1065px) {
  .timeline {
    justify-content: center;
    align-items: center;
  }
  .timeline-item:nth-child(2n) {
    margin-left: 0;
  }
  .timeline:before {
    display: none;
  }
  .timeline-pagination {
    display: none;
  }
}
@media screen and (max-width: 550px) {
  .timeline-item {
    width: 360px;
    height: 100px;
  }
  .timeline-item__img {
    width: 85px;
    height: 85px;
  }
  .timeline-item__text {
    font-size: 14px;
  }
}
@media screen and (max-width: 380px) {
  .timeline-item {
    width: 300px;
    height: 85px;
  }
  .timeline-item__img {
    width: 70px;
    height: 70px;
  }
  .timeline-item__text {
    font-size: 12px;
    padding-left: 10px;
  }
}
